﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Threading.Tasks;
using GPS.Models;
using System.Threading;

namespace GPS.Controllers
{
    public class UploadController : AsyncController
    {
        //
        // GET: /Upload/

        public ActionResult Index()
        {
            return View();
        }


        public async Task<ActionResult> Upload()
        {
            //Request.Files
            int t1 = Thread.CurrentThread.ManagedThreadId;
            //await Task.Factory.StartNew< model.fileupload.SaveAs("E:\\Project\\GPS\\GPS\\GPS\\Content\\up.txt");

            return RedirectToAction("View1", "Test");

        }

    }
}
